/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= SECTION ================= */
.facilities {
  padding: 60px 20px;
  background: #ffffff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.facilities h2 {
  color: #111;
  font-size: 32px;
  margin-bottom: 40px;
  position: relative;
}

/* Heading underline */
.facilities h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #0b2e59;
  display: block;
  margin: 10px auto 0;
  border-radius: 5px;
}

/* ================= GRID ================= */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

/* ================= CARD ================= */
.facility-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

/* Left Accent Line */
.facility-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(#0b2e59, #1c4fa1);
  border-radius: 18px 0 0 18px;
}

/* Hover Effect */
.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* ================= CONTENT ================= */
.facility-content {
  text-align: left;
  color: #222;
}

/* Heading */
.facility-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0b2e59;
  position: relative;
}

/* Small underline */
.facility-content h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #0b2e59;
  display: block;
  margin-top: 5px;
}

/* ================= LIST ================= */
.facility-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List Items */
.facility-content ul li {
  font-size: 14.5px;
  padding: 7px 0;
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
  transition: 0.2s;
}

/* Arrow Bullet */
.facility-content ul li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #0b2e59;
  font-size: 13px;
}

/* Hover list animation */
.facility-content ul li:hover {
  color: #0b2e59;
  transform: translateX(3px);
}

/* ================= SCROLL FOR ROUTES ================= */
.facility-card:nth-child(2) {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Custom Scrollbar */
.facility-card:nth-child(2)::-webkit-scrollbar {
  width: 6px;
}

.facility-card:nth-child(2)::-webkit-scrollbar-thumb {
  background: #0b2e59;
  border-radius: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .facilities h2 {
    font-size: 26px;
  }

  .facility-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .facilities {
    padding: 40px 15px;
  }

  .facility-content h3 {
    font-size: 19px;
  }

  .facility-content ul li {
    font-size: 13.5px;
  }
}